package net.jjjshop.front.service.user;

import net.jjjshop.common.entity.user.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * 充值活动
 *
 * @author 武子
 * @date 2025/3/3
 */
public interface UserRechargeService {

    /**
     * 充值
     * @param user
     * @return
     */
    Boolean updRecharge(User user);

    /**
     * 根据用户ID获取用户信息
     * @param userId
     * @return
     */
    User getById(@Param("userId") Integer userId);
}
